// import './assets/main.css'

import { createApp } from 'vue'

// import { createPinia } from 'pinia'
import router from './router'
import App from './App.vue'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
// import piniaPluginPersistedstate from 'pinia-plugin-persistedstate'
import zhCn from 'element-plus/dist/locale/zh-cn.mjs'
import "./flexible.js"
const app = createApp(App)
// const pinia = createPinia()

// pinia.use(piniaPluginPersistedstate)
// app.use(createPinia())
app.use(router)
app.use(ElementPlus, {
  locale: zhCn,
})
// app.config.globalProperties.$echarts = echarts
app.mount('#app')
